/* pages/pay/index.wxss */
/* pages/cart/index.wxss */
page {
    padding-bottom: 91rpx;
}

.receive_address {
    padding: 20rpx;

    .address_detail {
        font-size: 27rpx;
        display: flex;
        justify-content: center;
        flex-direction: column;

        .uptext {
            display: flex;
            justify-content: space-between;
        }

        .downtext {
            line-height: 32rpx;
        }
    }

}


//购物车内容
view.cart_body {

    //标题
    view.cart_title {
        border-top: 3rpx var(--themeColor) solid;
        border-bottom: 3rpx var(--themeColor) solid;
        padding: 15rpx;
        font-size: 35rpx;
    }

    //购物车主体 
    view.cart_main {

        // 购物车单项 相对定位
        view.cart_item {
            position: relative;
            display: flex;
            border-bottom: 1px solid #ccc;
            padding: 0 15rpx;


            // 商品图片
            view.cart_img {
                flex: 3;

                image {
                    width: 206rpx;
                }
            }

            // 商品描述
            view.cart_description {
                flex: 6;
                padding: 16rpx;
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                //商品介绍
                view.cart_goods_introduce {
                    font-size: 27rpx;
                    //两行文字... 技术
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;

                }

                //商品价格
                view.cart_goods_price {
                    color: var(--themeColor);
                    font-size: 33rpx;
                }
            }



            //编辑数量工具 绝对定位
            view.num_edit_tool {
                display: flex;
                position: absolute;
                bottom: 8rpx;
                right: 5rpx;


                //数量
                view.num {
                    font-size: 30rpx;
                    text-align: center;
                    padding: 9rpx;
                    flex: 3;
                }
            }
        }
    }
}

//底部工具栏
view.fool_tool {
    background-color: #fff;
    border-top: 1px solid #ccc;
    width: 100vw;
    position: fixed;
    bottom: 0;
    display: flex;
    height: 90rpx;

    view.tool_cb {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 25rpx;

        checkbox-group.tool_all_cb {
            color: rgb(100, 99, 96);

            checkbox {}
        }
    }

    view.tool_price {
        padding: 12rpx;
        flex: 2;
        text-align: right;
        font-size: 25rpx;

        view.tool_price_up {
            .price {
                font-size: 34rpx;
                color: var(--themeColor);
            }
        }

        view.tool_price_down {
            font-size: 20rpx;
        }
    }

    view.tool_pay {
        position: relative;
        flex: 1;
        background-color: rgb(249, 85, 74);
        color: #fff;
        font-size: 35rpx;
        display: flex;
        justify-content: center;
        align-items: center;

        .tool_pay_num {}

        .tool_pay_button {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }
    }
}